package com.cory.admin.sys.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cory.admin.sys.domain.entity.SysResource;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xc
 * @since 2019-02-23
 */
public interface SysResourceMapper extends BaseMapper<SysResource> {

    /**
     * 查询用户的资源
     * @param userId
     * @param userType
     * @return
     * @author xiongcong 2019-02-26
     */
    List<SysResource> selectUserResource(@Param("userId")Integer userId, @Param("userType")Integer userType);

}
